﻿using TcpServer.Facade;
using TcpServer.Orm;

namespace TcpServer.DataProcessor
{
  public interface IProcessor
    {
        /// <summary>
        /// 持久化或状态处理
        /// </summary>
        /// <param name="context"></param>
        /// <param name="content"></param>
        void Persist(DataCommunicationEntities context, SocketClientInfo content);
        /// <summary>
        /// 数据下发
        /// </summary>
        void Persist();

        void Persist(DustEntities context, SocketClientInfo content);
    }
}
